#include <gtk/gtk.h>
double a, b; //定义两个参与运算的变量，双精度浮点型
double p = 0;
int hasdot;    //是否有小数点
int method;    //用于区别不同的运算
int principle; //表示不同的进制
char out[20] = "0";
GtkWidget *window; //这部分是定义元件
GtkWidget *vbox;   //垂直框
GtkWidget *table1;
GtkWidget *table2;
GSList *group;
GtkWidget *radio;   //单选框
GtkWidget *entry;   //文本框
GtkWidget *button1; // 42个按钮
GtkWidget *button2;
GtkWidget *button3;
GtkWidget *button4;
GtkWidget *button5;
GtkWidget *button6;
GtkWidget *button7;
GtkWidget *button8;
GtkWidget *button9;
GtkWidget *button10;
GtkWidget *button11;
GtkWidget *button12;
GtkWidget *button13;
GtkWidget *button14;
GtkWidget *button15;
GtkWidget *button16;
GtkWidget *button17;
GtkWidget *button18;
GtkWidget *button19;
GtkWidget *button20;
GtkWidget *button21;
GtkWidget *button22;
GtkWidget *button23;
GtkWidget *button24;
GtkWidget *button25;
GtkWidget *button26;
GtkWidget *button27;
GtkWidget *button28;
GtkWidget *button29;
GtkWidget *button30;
GtkWidget *button31;
GtkWidget *button32;
GtkWidget *button33;
GtkWidget *button34;
GtkWidget *button35;
GtkWidget *button36;
GtkWidget *button37;
GtkWidget *button38;
GtkWidget *button39;
GtkWidget *button40;
GtkWidget *button41;
GtkWidget *button42;
